
all: bbserv

bulletinboard.o: bulletinboard.h bulletinboard.cpp
	$(CXX) $(CXXFLAGS) -c -o bulletinboard.o bulletinboard.cpp

main.o: main.cpp
	$(CXX) $(CXXFLAGS) -c -o main.o main.cpp

bbserv: main.o bulletinboard.o
	$(CXX) $(CXXFLAGS) -lpthread -o bbserv main.o bulletinboard.o

